﻿using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ATM.DAO;
using ATM.Entities;

namespace ATM.UnitTest
{
    [TestFixture()]
    public class LoggingUT
    {
        private Card card;
        
        [TestCase]
        public void TestWrtieLogSuccess()
        {
            card = CardDAO.GetCurrentCard("111111111111AAAA");
            bool flag=LogDAO.WriteLog(card, 1, 1, 0, "HanhChii");
            Assert.AreEqual(flag, true);
        }

    }
}
